home *** CD-ROM | disk | FTP | other *** search
- SQRT(3M) Last changed: 1-6-98
-
-
- NNAAMMEE
- SSQQRRTT, DDSSQQRRTT, CCSSQQRRTT, CCDDSSQQRRTT - Computes square root
-
- SSYYNNOOPPSSIISS
- UNICOS and UNICOS/mk systems:
-
- SSQQRRTT (([XX==]_x))
- DDSSQQRRTT (([XX==]_x))
- CCSSQQRRTT (([XX==]_x))
-
- UNICOS and IRIX systems:
-
- CCDDSSQQRRTT (([XX==]_x))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk, and IRIX systems
-
- SSTTAANNDDAARRDDSS
- Fortran 90
- CCDDSSQQRRTT is a compiler extension to Fortran 90.
-
- DDEESSCCRRIIPPTTIIOONN
- SSQQRRTT is the generic function name. These functions are elemental
- functions for the CF90 compiler.
-
- A vector version of this intrinsic exists on UNICOS and UNICOS/mk
- systems. On UNICOS/mk systems, the vector version of this intrinsic
- is used when --hh vveeccttoorr33 (C compiler) or --OO vveeccttoorr33 or --OO33 (Fortran
- compiler) has been specified on the compiler command line.
-
- The entry point CCDDSSQQRRTT is provided for support in other languages. It
- is not recognized as an intrinsic function; therefore, you must use
- the CCDDIIRR$$ VVFFUUNNCCTTIIOONN directive to allow vectorization.
-
- CCDDSSQQRRTT is called implicitly by the Fortran 90 compiler as a result of
- a generic SSQQRRTT call with a complex double-precision argument.
- 1/2
- These functions evaluate _y = _x .
-
- CCAALL RReeggiisstteerr UUssaaggee ((CCrraayy RReesseeaarrcchh SSyysstteemmss OOnnllyy))
- Scalar SSQQRRTT: SSQQRRTT%% (call-by-register)
- on entry (S1) = argument
- on exit (S1) = result
-
- Vector SSQQRRTT: %%SSQQRRTT%% (call-by-register)
- on entry (V1) = argument vector
- on exit (V1) = result vector
-
- Scalar DDSSQQRRTT: DDSSQQRRTT%% (call-by-register)
- on entry (S1) and (S2) = argument
- on exit (S1) and (S2) = result
- Vector DDSSQQRRTT: %%DDSSQQRRTT%% (call-by-register)
- on entry (V1) and (V2) = argument vector
- on exit (V1) and (V2) = result vector
-
- Scalar CCSSQQRRTT: CCSSQQRRTT%% (call-by-register)
- on entry (S1) and (S2) = argument
- on exit (S1) and (S2) = result
-
- Vector CCSSQQRRTT: %%CCSSQQRRTT%% (call-by-register)
- on entry (V1) and (V2) = argument vector
- on exit (V1) and (V2) = result vector
-
- AArrgguummeenntt RRaannggee
- SSQQRRTT,, DDSSQQRRTT::
- 2450
- 0 <= _x < infinity (infinity is approximately 10 )
- 308
- On UNICOS/mk systems, infinity is approximately 10
-
- CCSSQQRRTT::
-
- |_x | < infinity, |_x | < infinity
- r i
- CCDDSSQQRRTT::
-
- |_x | < infinity, |_x | < infinity
- r i
- NNOOTTEESS
- CCDDSSQQRRTT is an outmoded routine for the CF90 compiler. Refer to the
- _F_o_r_t_r_a_n _L_a_n_g_u_a_g_e _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, _V_o_l_u_m_e _3, publication SR-3905, for
- information about outmoded features and their preferred standard
- alternatives.
-
- The name of the SSQQRRTT, DDSSQQRRTT, and CCSSQQRRTT intrinsic can be passed as an
- argument. The name of the CCDDSSQQRRTT intrinsic cannot be passed as an
- argument.
-
- RREETTUURRNN VVAALLUUEESS
- SSQQRRTT returns the real square root of its real argument.
-
- DDSSQQRRTT returns the double-precision square root of its double-precision
- argument.
-
- CCSSQQRRTT returns the complex square root of its complex argument.
-
- CCDDSSQQRRTT returns the complex double-precision square root of its complex
- double-precision argument.
-
- On CRAY T90 systems that support IEEE arithmetic, the following return
- values occur:
-
- SSQQRRTT((0)) = 0
-
- SSQQRRTT((-0)) = -0
-
- SSQQRRTT((_x)) = NaN if _x < 0
-
- SSQQRRTT((NaN)) = NaN
-
- SSQQRRTT(( infinity ) = infinity
-
- SSEEEE AALLSSOO
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
- printed version of this man page.
-
-